package com.yyge.controller.admin.orders.req;

import com.yyge.common.vo.req.PageReq;
import com.yyge.entity.Orders;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Desc 接收对象
 * @Author: Gityyge
 * @Date: 2023/7/2 20:37:06
 */

@Getter
@Setter
@ToString
@ApiModel(value = "Orders接口")
public class OrdersReq extends PageReq<Orders> {
    private String number;

    /**
     * 订单状态 (0-全部，1-待付款，2-待发货，3-已派送，4-已完成，5-已取消)
     */
    private String orderState;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 商家ID
     */
    private Long merchantId;

}
